package com.knight.study.patterns.tujie.abstractFactory;

import java.util.ArrayList;

/**
 * @Author knight
 * @Date 2024/9/10 17:28
 */

public abstract class Tray extends Item{
    protected ArrayList tray = new ArrayList();

    public Tray(String caption) {
        super(caption);
    }

    public void add(Item item) {
        tray.add(item);
    }
}
